package com.weipai.springboot.enums;

public enum Payment {
    ALI_PAY(1, "支付宝"),
    WX_PAY(2, "微信支付"),
    UNION_PAY(3, "银联支付"),
    COLLECT_PAY(4, "到付"),
    REPUTATION_PAY(5, "信誉值");

    private int type;
    private String name;

    Payment(int type, String name) {
        this.type = type;
        this.name = name;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
